import request from '@/utils/request'

// 查询测试员工信息列表
export function listEmployeeinfo(query) {
  return request({
    url: '/hr/employeeinfo/list',
    method: 'get',
    params: query
  })
}

// 查询测试员工信息详细
export function getEmployeeinfo(id) {
  return request({
    url: '/hr/employeeinfo/' + id,
    method: 'get'
  })
}

// 新增测试员工信息
export function addEmployeeinfo(data) {
  return request({
    url: '/hr/employeeinfo',
    method: 'post',
    data: data
  })
}

// 修改测试员工信息
export function updateEmployeeinfo(data) {
  return request({
    url: '/hr/employeeinfo',
    method: 'put',
    data: data
  })
}

// 删除测试员工信息
export function delEmployeeinfo(id) {
  return request({
    url: '/hr/employeeinfo/' + id,
    method: 'delete'
  })
}
